Warning: mkdir(): No space left on device in /var/www/tg-me/post.php on line 37

Warning: file_put_contents(aCache/aDaily/post/cppproglib/--): Failed to open stream: No such file or directory in /var/www/tg-me/post.php on line 50
Библиотека C/C++ разработчика | cpp, boost, qt | Telegram Webview: cppproglib/5745 -
Telegram Group & Telegram Channel
⚡️ GDB: отладка без перекомпиляции

Сколько раз ты менял код, добавляя printf для отладки, а потом забывал их удалить перед коммитом?

Решение: Условные breakpoint'ы в GDB

$ gdb ./your_program
(gdb) break main.cpp:42 if user_id == 123
(gdb) run


GDB остановится только когда user_id равен 123!

Ещё круче:

- (gdb) commands 1 - добавить команды к breakpoint'у
- (gdb) watch variable_name - остановка при изменении переменной

Бонус: set print pretty on сделает вывод структур читаемым 🎯

Попробуй прямо сейчас и напиши, сколько printf удалил из кода😄

Библиотека C/C++ разработчика #буст



tg-me.com/cppproglib/5745
Create:
Last Update:

⚡️ GDB: отладка без перекомпиляции

Сколько раз ты менял код, добавляя printf для отладки, а потом забывал их удалить перед коммитом?

Решение: Условные breakpoint'ы в GDB

$ gdb ./your_program
(gdb) break main.cpp:42 if user_id == 123
(gdb) run


GDB остановится только когда user_id равен 123!

Ещё круче:

- (gdb) commands 1 - добавить команды к breakpoint'у
- (gdb) watch variable_name - остановка при изменении переменной

Бонус: set print pretty on сделает вывод структур читаемым 🎯

Попробуй прямо сейчас и напиши, сколько printf удалил из кода😄

Библиотека C/C++ разработчика #буст

BY Библиотека C/C++ разработчика | cpp, boost, qt




Share with your friend now:
tg-me.com/cppproglib/5745

View MORE
Open in Telegram


Библиотека C C разработчика | cpp boost qt Telegram | DID YOU KNOW?

Date: |

The STAR Market, as is implied by the name, is heavily geared toward smaller innovative tech companies, in particular those engaged in strategically important fields, such as biopharmaceuticals, 5G technology, semiconductors, and new energy. The STAR Market currently has 340 listed securities. The STAR Market is seen as important for China’s high-tech and emerging industries, providing a space for smaller companies to raise capital in China. This is especially significant for technology companies that may be viewed with suspicion on overseas stock exchanges.

Telegram is riding high, adding tens of million of users this year. Now the bill is coming due.Telegram is one of the few significant social-media challengers to Facebook Inc., FB -1.90% on a trajectory toward one billion users active each month by the end of 2022, up from roughly 550 million today.

Библиотека C C разработчика | cpp boost qt from pl


Telegram Библиотека C/C++ разработчика | cpp, boost, qt
FROM USA